<template>
  <div>
    <span>芙蓉楼送幸浙</span><button @click="change">{{ isShow ? '收起' : '展开' }}</button>
    <div v-show="isShow">
        <p>寒夜连江夜入吴</p>
        <p>平明送客楚山孤</p>
    </div>
  </div>
</template>

<script>
export default {
    data(){
        return{
            isShow: false
        }
    },
    methods:{
        change(){
            this.isShow = !this.isShow
        }
    }   
}
</script>

<style>

</style>